import React, { lazy } from 'react'
import Redirect from '../Redirect'
import NoMatch from '@/pages/NoMatch/index'
import Parents from '@/components/Layout/components/Parents'
import Blank from '@/components/Layout/components/Blank'

import report from './report'
import fmsearch from './fmsearch'
import search from './search'
import rmwording from './rmwording'
import safety from './safety'
import system from './system'
import log from './log'
export const redirect = { index: true, element: <Redirect to='/index' /> }

export const routeComponents = {
  React_Layout: <Parents />,
  React_Blank: <Blank />,
  React_ParentView: <Blank />,
  React_InnerLink: <Blank />,
  React_NoMatch: <NoMatch />,
  ...report,
  ...fmsearch,
  ...search,
  ...rmwording,
  ...safety,
  ...system,
  ...log,

  // Report: {path: 'path'}
 // { path: "*", element: <NoMatch /> },
}

export default routeComponents